package com.ruoyi.driver.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;

/**
 * 司机绑定记录对象 tb_driver_car_bind
 * 
 * @author ruoyi
 * @date 2025-08-27
 */
public class TbDriverCarBind extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 绑定记录ID */
    @Excel(name = "绑定记录ID")
    private Integer bindId;

    /** 司机ID */
    @Excel(name = "司机ID")
    private Integer driverId;

    /** 车辆ID */
    @Excel(name = "车辆ID")
    private Integer carId;

    /** 绑定类型：1-车辆绑定 2-车辆解绑 3-手机绑定 4-手机解绑 5-银行卡绑定 6-银行卡解绑 */
    @Excel(name = "绑定类型：1-车辆绑定 2-车辆解绑 3-手机绑定 4-手机解绑 5-银行卡绑定 6-银行卡解绑")
    private Integer bindType;

    /** 操作时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "操作时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date operateTime;

    /** 操作人 */
    @Excel(name = "操作人")
    private Long userId;

    public void setBindId(Integer bindId) 
    {
        this.bindId = bindId;
    }

    public Integer getBindId() 
    {
        return bindId;
    }

    public void setDriverId(Integer driverId) 
    {
        this.driverId = driverId;
    }

    public Integer getDriverId() 
    {
        return driverId;
    }

    public void setCarId(Integer carId) 
    {
        this.carId = carId;
    }

    public Integer getCarId() 
    {
        return carId;
    }

    public void setBindType(Integer bindType) 
    {
        this.bindType = bindType;
    }

    public Integer getBindType() 
    {
        return bindType;
    }

    public void setOperateTime(Date operateTime) 
    {
        this.operateTime = operateTime;
    }

    public Date getOperateTime() 
    {
        return operateTime;
    }

    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("bindId", getBindId())
            .append("driverId", getDriverId())
            .append("carId", getCarId())
            .append("bindType", getBindType())
            .append("operateTime", getOperateTime())
            .append("userId", getUserId())
            .toString();
    }
}
